package main

import "fmt"

func fibonacci(n int) int {
	if n < 2 {
		return n
	}
	return fibonacci(n-1) + fibonacci(n-2)
}

func main() {
	n := 10
	var L []int
	for i := 0; i < n; i++ {
		L = append(L, fibonacci(i))
	}
	fmt.Println(L)
}
